﻿using ExtendedMvc.WebTest.Model.Entities;

namespace ExtendedMvc.WebTest.Model {
	public class GroupRepository : LogicalRepository<Group>, IGroupRepository {
		public static GroupRepository Create() {
			var groups = new GroupRepository();
			groups.Add(new Group { Name = "Group1" });
			groups.Add(new Group { Name = "Group2" });
			groups.Add(new Group { Name = "Group3" });
			groups.Add(new Group { Name = "Group4" });
			groups.Add(new Group { Name = "Group5" });
			groups.Add(new Group { Name = "Group6" });
			groups.Add(new Group { Name = "Group7" });
			groups.Add(new Group { Name = "Group8" });
			groups.Add(new Group { Name = "Group9" });
			groups.Add(new Group { Name = "Group10" });
			groups.Add(new Group { Name = "Group11" });
			groups.Add(new Group { Name = "Group12" });
			groups.Add(new Group { Name = "Group13" });
			groups.Add(new Group { Name = "Group14" });
			groups.Add(new Group { Name = "Group15" });
			return groups;
		}
	}
}
